package com.haoniu.common.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * Created by liutao  on 2018/4/17.
 */
public interface FileUploadService {

    /**
     * 获取文件根地址
     * @return
     */
    String getFileBaseUrl();

    String getToken();

    String uploadFile(MultipartFile uploadFile, String type) throws Exception;
}
